package com.wing.product.service;

import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.wing.common.utils.PageResult;
import com.wing.product.model.entity.WarehouseShipmentOrder;
import com.baomidou.mybatisplus.extension.service.IService;
import com.wing.product.model.request.WarehouseShipmentOrderForm;
import com.wing.product.model.response.ShipmentOrderInfoVO;
import com.wing.product.model.response.WarehouseShipmentOrderInfoVO;
import com.wing.product.model.response.WarehouseShipmentOrderVO;

import javax.swing.text.StyledEditorKit;
import java.util.Map;

public interface WarehouseShipmentOrderService extends IService<WarehouseShipmentOrder>{


    Boolean save(WarehouseShipmentOrderForm warehouseShipmentOrderForm);

    Boolean update(WarehouseShipmentOrderForm warehouseShipmentOrderForm);

    Page<WarehouseShipmentOrderVO> pageList4app(Page page, Map<String, Object> params);

    ShipmentOrderInfoVO getInfoByShipmentId(String shipmentOrderId);

    WarehouseShipmentOrderInfoVO findOrderInfoById(Long id, String shipment);

    WarehouseShipmentOrderInfoVO info(Long id,String waybill);

    Boolean updateStatus(Long id, Integer status);

    boolean revoke(Long id, Integer status);
}
